<div class="panel panel-default panel-intro">
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
            <center><h3>平台审批处理</h3></center>
            <form method="post" action="{:url('aduithandle')}">
                <table class="table table-striped table-bordered table-hover table-nowrap">
                    <tr>
                        <th>商品预选表ID:</th>
                        <th>商品ID:</th>
                        <th>商品标题：</th>
                        <th>商品价格：</th>
                        <th>商品数量：</th>
                        <th>店铺ID:</th>
                        <th>商品总价：</th>
                        <th>申请时间：</th>
                    </tr>
                    {volist name="preshop" id="vo"}
                    <tr>
                        <td style="width:50px"><input type="text" value="{$vo.id}" name="row[id][]" style="width:50px"></td>
                        <td style="width:50px"><input type="checkbox" value="{$vo.shopid}"  checked name="row[shopid][]" style="width:50px">{$vo.shopid}</td>
                        <td><input type="text" name="row[shopname][]" value="{$vo.shopname}">  </td>

                        <td style="width:50px"><input type="text" name="row[price][]" value="{$vo.price}" style="width:50px"></td>
                        <td style="width:50px"><input type="number" name="row[number][]" min="0" max="{$vo.number}" value="{$vo.number}" style="width:50px"></td>
                        <td>
                            <select class="form-control" name="row[storeid][]" id="">
                                {php}$storename=db('store')->where('storeid','=',$vo['storeid'])->value('storename');{/php}
                                <option value="{$vo.storeid}">{$storename}</option>
                            </select>
                        </td>
                        <td><input type="number" name="row[total][]" max="{$vo.total}" value="{$vo.total}"></td>

                        <td>{$vo.createtime|date="Y-m-d H:i:s",###}</td>
                    </tr>
                    {/volist}
                    <tr>
                        <td colspan="8" align="center"><button class="btn btn-success" type="submit">通过审核</button></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
</div>